﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Add
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/jquery.cookie.js" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/hiTable.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.pagination.js") %>" type="text/javascript"></script>
    <%-- 树形插件--%>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.all-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.core-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ztree.excheck-3.4.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Role/Add.js") %>" type="text/javascript"></script>
    <%--  验证控件--%>
    <script src="../../Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.expand.js" type="text/javascript"></script>
    <link href="<%: Url.Content("~/Content/CSS/Common/Common.css") %>" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        var SaveSuccess = "<%:Html.Lang("Role_Add_SaveSuccess")%>";
        var SaveFail = "<%:Html.Lang("Role_Add_SaveFail")%>";
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="roleForm" runat="server">
    <div style="width: 100%">
        <table>
            <tr>
                <td>
                    <%:Html.Lang("Role_Add_RoleName")%>
                </td>
                <td>
                    <input type="text" id="RoleName" maxlength="50" name="1" class="required" value="" />
                </td>
            </tr>
            <tr>
                <td>
                    <%:Html.Lang("Role_Add_Description")%>
                </td>
                <td>
                    <input type="text" id="Description" maxlength="250" name="2" class="required" value="" />
                </td>
            </tr>
        </table>
        <div id="Down">
            <ul id="treeMenu" class="ztree">
            </ul>
        </div>
        <div>
            <input type="button" class="SpanButton" id="btnSave" onclick="Save()" value="<%:Html.Lang("Role_Add_Save") %>" />
            <input type="button" class="SpanButton" id="btnCancel" onclick="Cancel()" value="<%:Html.Lang("Role_Add_Cancel") %>" />
        </div>
    </div>
    </form>
</asp:Content>
